<?php
require_once BasePath . '/framework/autoload.php';

use framework\support\Db;
use framework\support\Redis;

$dotenv = Dotenv\Dotenv::createImmutable(BasePath);
$dotenv->safeLoad();

if ($timezone = getenv('TIME_ZONE')) {
    date_default_timezone_set($timezone);
}
$Db = Db::getInstance();
$Redis = Redis::getInstance();
